rangeOf

Constructs an input range over an image For every pixel get x + y and the color value

TODO: Scan line version of this?

  1. auto rangeOf(SwappableImage!Color* from)
    @nogc nothrow @safe
    rangeOf
    (
    Color
    )
  2. auto rangeOf(Image from, IAllocator allocator)

Parameters

from SwappableImage!Color*

The image to create a range upon

Return Value

Type: auto

An input range to get every pixel along with its X and Y coordinates.

Meta